package com.mdd.admin.service;

import com.mdd.admin.validate.commons.PageValidate;
import com.mdd.admin.validate.GreetingCardsSetCreateValidate;
import com.mdd.admin.validate.GreetingCardsSetUpdateValidate;
import com.mdd.admin.validate.GreetingCardsSetSearchValidate;
import com.mdd.admin.vo.GreetingCardsSetListedVo;
import com.mdd.admin.vo.GreetingCardsSetDetailVo;
import com.mdd.common.core.PageResult;

/**
 * 贺卡设置服务接口类
 * @author DEREK
 */
public interface IGreetingCardsSetService {

    /**
     * 贺卡设置列表
     *
     * @author DEREK
     * @param pageValidate 分页参数
     * @param searchValidate 搜索参数
     * @return PageResult<GreetingCardsSetListedVo>
     */
    PageResult<GreetingCardsSetListedVo> list(PageValidate pageValidate, GreetingCardsSetSearchValidate searchValidate);

    /**
     * 贺卡设置详情
     *
     * @author DEREK
     * @param id 主键ID
     * @return GreetingCardsSetDetailVo
     */
    GreetingCardsSetDetailVo detail(Integer id);

    /**
     * 贺卡设置新增
     *
     * @author DEREK
     * @param createValidate 参数
     */
    void add(GreetingCardsSetCreateValidate createValidate);

    /**
     * 贺卡设置编辑
     *
     * @author DEREK
     * @param updateValidate 参数
     */
    void edit(GreetingCardsSetUpdateValidate updateValidate);

    /**
     * 贺卡设置删除
     *
     * @author DEREK
     * @param id 主键ID
     */
    void del(Integer id);

}
